﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNav.Domain
{
    public class UserProfile
    {
        public int ID { get; set; }
        public int BusinessID { get; set; }
        public bool IsBusinessAdmin { get; set; }
        public string UserPosition { get; set; }
        public string PhoneNumber { get; set; }
        public string FaxNumber { get; set; }
        public string Email { get; set; }
        public string Title { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
    }

    public class UserProfileEx : UserProfile
    {
        public bool? IsLogOn { get; set; }
        public DateTime? LogOffDate { get; set; }
        public int? LogOnAttempt { get; set; }
        public DateTime? LockOutExpireDate { get; set; }
        public DateTime? PassExpireDate { get; set; }
        public DateTime? AccountExpireDate { get; set; }
        public string MachineIP { get; set; }
        public bool? Deleted { get; set; }
    }

    public class RegisterUserProfile : UserProfile
    {
        public string Password { get; set; }
        public DateTime? AccountExpireDate { get; set; }
    }
}
